package cn.iocoder.yudao.framework.endpoint;

import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;

/**
 * 自动配置
 *
 * @author 山野羡民（1032694760@qq.com）
 */
@AutoConfiguration
public class EndpointAutoConfiguration {

    @Bean
    @ConditionalOnMissingBean
    public ProjectInfoContributor projectInfoContributor() {
        return new ProjectInfoContributor();
    }

}
